package com.room.search.service.dto.user;

import javax.validation.constraints.NotNull;

/**
 * By   : ghd.bright
 * Time : 2022/2/14
 * Description: 改变用户状态DTO
 */
public class ChangeActivatedDTO {

    /**
     * 用户id
     */
    @NotNull
    private Long id;

    /**
     * 用户的状态
     */
    @NotNull
    private Boolean activated;

    public Long getId() {
        return id;
    }

    public ChangeActivatedDTO setId(Long id) {
        this.id = id;
        return this;
    }

    public Boolean getActivated() {
        return activated;
    }

    public ChangeActivatedDTO setActivated(Boolean activated) {
        this.activated = activated;
        return this;
    }

    @Override
    public String toString() {
        return "ChangeActivatedDTO{" +
            "id=" + id +
            ", activated=" + activated +
            '}';
    }
}
